package com.gtw.modules.sys.service;

import com.gtw.modules.entity.TbAnnouncement;

import java.util.List;
import java.util.Map;

/** 公告接口
 * Created by wuye on 2018/2/2.
 */
public interface SysTbAnnouncementService {

    TbAnnouncement queryObject(Integer id);

    List<TbAnnouncement> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(TbAnnouncement announcement);

    void update(TbAnnouncement announcement);

    void delete(Integer id);

    void deleteBatch(Integer[] ids);
}
